package com.datang.petstore.service;

import com.datang.petstore.entity.GetMicroblogListRequest;
import com.datang.petstore.entity.Microblog;
import com.datang.petstore.model.DeleteMicroblogRequest;
import com.datang.petstore.model.GetMicroblogListResponse;

import java.util.Date;
import java.util.List;

/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-10-30 17:21
 * @notify 微博接口
 * @version 1.0
 */
public interface MicroblogService {

    Integer addMicroblog(Microblog microblog);

    Microblog getMicroblog(Integer id);

    void updateMicroblog(Microblog microblog);

    List<GetMicroblogListResponse> getMicroblogList(GetMicroblogListRequest getMicroblogListRequest);
}
